package com.wisemoresystem.seal.util.sql;

import java.io.File;

public class SybaseInitBackup {

	static String outModel = "./bcp sealdb..@table out \"/home/sybase/back/@table.sql\" -SS1X_SEAL_SRV -Usealdbo -Psealpass -c -t,";
	// static String inModel =
	// "./bcp sealdb..@table in \"/home/sybase/back/@table.sql\" -SS1X_YKY_ASE -Usa -P -c -t,";
	static String inModel = "./bcp sealdb..@table in \"/home/sybase/back/@table.sql\" -SS1X_SEAL_SRV -Usealdbo -Psealpass -c -t,";

	public static void main(String[] args) {
		String[] list = { "t_bank", "t_bank_level", "t_d_datatransfer_config",
				"t_d_verify_config", "t_location", "t_menu", "t_paper",
				"t_role", "t_seal_type", "t_seal_type_config", "t_user",
				"t_version" };

		for (String model : list) {
			String t = model.replace(".java", "");
			System.err.println(outModel.replace("@table", t));

		}

		System.err
				.println("---------------------in------------------------------");
		for (String model : list) {
			String t = model.replace(".java", "");
			System.err.println(inModel.replace("@table", t));

		}
	}
}
